@use './root.scss';
@use './global.module.scss';
@use './reset.scss';
@use './animation.scss';
@use './transition.scss';
@use './element-plus.scss';
@use './sidebar.scss';

#app {
  height: 100%;
}

// 界面搜索容器的样式
.header-filter,
.dialog-table-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 10px 16px 5px;
  margin-bottom: 10px;
  border-radius: 5px;
  // box-shadow: var(--box-shadow);
  > * {
    margin-bottom: 5px;
  }
  .item {
    max-width: 150px;
    min-width: 150px;
    margin-right: 10px;
  }
  .hamburger-container {
    display: inline-block;
  }
  .width-390 {
    max-width: 390px;
  }
  .setting-btn {
    display: flex;
    text-align: right;
    width: auto;
  }
}

// 弹框表格上的搜索样式
.dialog-table-filter {
  padding: 0;
  border-radius: 0;
}

// 标签的四角样式
.four-border-blueBg {
  background: var(--four-border-bg);
  background-repeat: no-repeat;
  background-size: 2px 15px, 15px 2px;
  background-color: var(--four-bg);
  // margin-bottom: 10px;
}

// 限制高度100%的内容容器的样式
.content-container {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

// 不限制高度100%的内容容器的样式
.content-nolimit-container {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100%;
  padding: 4px;
  background-color: var(--menu-theme-bg);
  box-shadow: var(--box-shadow);
  box-sizing: border-box;
}

// 表格外层容器的样式
.base-table-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px;
  border-radius: 5px;
  background-color: var(--menu-theme-bg);
  overflow-y: auto;
  .el-dropdown {
    color: #5dc590;
  }
  // 列表里的按钮样式
  .dy-list-table {
    .el-button:nth-of-type(n + 6) {
      // padding-top: 10px;
      // padding-bottom: 0px;
    }
  }
  .table-action-wrap {
  }
}

// 弹框里面的tabs样式
.set-dialog {
  .tab-head {
    .el-tabs__item {
      display: inline-block;
      line-height: 3;
      font-weight: bold;
    }
  }
}

// 高德地图的logo样式
.map-container {
  position: relative;
  &.googleMap {
    .amap-logo {
      display: none !important;
    }
  }
}
// 去除高德地图的copyright
.amap-copyright {
  display: none !important;
}

// 在全局设置
input[aria-hidden='true'] {
  display: none !important;
}

// 弹框表单里面的分割线
.set-dialog-form {
  .el-divider {
    margin: 10px 0 28px;
  }
  .col-title {
    font-size: 16px;
    font-weight: bold;
    color: var(--color-000);
  }
}

// 小圆点状态样式
.dot-status {
  display: inline-flex;
  align-items: center;
  &::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 4px;
    border-radius: 50%;
    background-color: #606266;
  }
  &.success::before {
    background-color: #6fba2c;
  }
  &.info::before {
    background-color: #909399;
  }
  &.wait::before {
    background-color: #122b6e;
  }
  &.danger::before {
    background-color: #ff6565;
  }
}
